package com.zh.operation.dao;

import com.zh.operation.domain.BedDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 床位表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-02-19 14:36:08
 */
@Mapper
public interface BedDao {

	BedDO get(String id);
	
	List<BedDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BedDO bed);
	
	int update(BedDO bed);
	
	int remove(String id);
	
	int batchRemove(Long[] ids);

	List<BedDO> getAll();
}
